.home-page {
  background: #F5F9FA;
  padding-bottom: .5rem;

  .banner {
    height: 2.3rem;
    background: #73D13D;
    position: relative;

    .location {
      line-height: .24rem;
      padding: .14rem .14rem .12rem .14rem;
      color: #FFFFFF;
      font-weight: normal;
      font-size: .14rem;
      text-align: left;

      .iconfont {
        margin-right: .1rem;
      }
    }

    .search {
      margin: 0 auto .2rem auto;
      width: 3.4rem;
      height: .36rem;
      line-height: .36rem;
      background: #FFFFFF;
      font-size: .14rem;
      text-align: left;
      border-radius: .18rem;

      .iconfont {
        margin-left: .12rem;
        margin-right: .08rem;
      }
    }

    .swiper-area {

      .swiper-item {

        margin-left: .18rem;

        &-img {
          width: 3.4rem;
          height: .9rem;
        }
      }

      .pagination {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: .36rem;
        font-size: .12rem;
        line-height: .2rem;
        z-index: 999;
        color: #fff;
        background: #52C41A;
        border-radius: .1rem;
        padding: 0 .1rem;
      }
    }
  }

  .category {
    position: relative;
    margin-top: -.2rem;
    display: flex;
    flex-wrap: wrap;
    font-size: .12rem;
    background: #FFFFFF;
    border-radius: .2rem .2rem 0 0;
    padding-bottom: .2rem;
    height: 1.92rem;

    &-item {
      flex: 0 0 25%;
      text-align: center;

      &-img {
        margin-top: .16rem;
        margin-bottom: .13rem;
        width: .42rem;
        height: .36rem;
      }

      &-desc {
        color: #242424;
        line-height: .18rem;
        text-align: center;
      }
    }
  }

  .card {
    margin-top: .1rem;
    background: #FFFFFF;
    font-size: .12rem;
    height: 2.6rem;

    &-title {
      position: relative;
      padding: .14rem .1rem 0 .1rem;
      color: #242424;
      font-size: .2rem;
      line-height: .24rem;

      &-img {
        width: .24rem;
        height: .24rem;
        float: left;
      }

      &-more {
        font-size: .16rem;
        line-height: .18rem;
        position: absolute;
        bottom: 0;
        right: .1rem;

        .iconfont {
          margin-left: .04rem;
          font-size: .16rem;
          font-weight: normal;
        }
      }
    }

    &-content {
      margin-top: .2rem;
      padding-bottom: .14rem;
      overflow-x: scroll;
      white-space: nowrap;

      &-item {
        width: 1.1rem;
        display: inline-block;
        margin-right: .06rem;

        &-img {
          width: 1.1rem;
          height: 1.1rem;
        }

        &-desc {
          margin: .06rem;
          color: #242424;
          font-size: .12rem;
          line-height: .18rem;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 2;
          white-space: normal;
          word-break: break-all;
        }

        &-price {
          position: relative;
          margin: 0.06rem;
          color: #F81C00;
          font-size: .2rem;
          line-height: .24rem;

          .iconfont {
            position: absolute;
            right: .06rem;
            bottom: .02rem;
            color: #73D13D;
          }
        }

        &-yen {
          font-size: .12rem;
        }
      }
    }
  }

  .bottom {
    line-height: 1rem;
    color: #B3C1C4;
    font-size: .12rem;
    text-align: center;
  }

  .docker {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    display: flex;
    font-size: .12rem;
    color: #B3C1C4;
    height: .49rem;
    border-top: .01rem solid #F5F9FA;
    z-index: 3;
    background: #FFFFFF;

    &-item {
      flex: 1;

      &-icon {
        margin: .04rem 0;
        font-size: .18rem;

        img {
          width: .3rem;
          height: .3rem;
        }
      }


    }

    &-item-active {
      color: #73D13D;
    }
  }
}